import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from '../views/Home.vue'
import Friends from '../views/Friends.vue'
import Server from '../views/Server.vue'
import Cart from '../views/Cart.vue'

Vue.use(VueRouter)

const router = new VueRouter({
  routes: [
    {
      path: '/'

    },
    {
      path: '/home',
      component: Home
    },
    {
      path: '/friends',
      component: Friends
    },
    {
      path: '/cart',
      component: Cart
    },
    {
      path: '/server',
      component: Server
    }
  ]
})

export default router
